﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace PasswordsService
{
    [DataContract]
    public class PasswordContract
    {
        [DataMember]
        public Guid Guid { get; set; }


        [DataMember]
        public int CategoryType { get; set; }

        [DataMember]
        public bool IsSynced { get; set; }

        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public bool IsFavorite { get; set; }

        [DataMember]
        public DateTime Modified { get; set; }

        [DataMember]
        public List<FieldContract> Fields { get; set; }

        [DataMember]
        public List<string> Categories { get; set; }

        [DataMember]
        public byte[] EncryptedDetails { get; set; }
    }
}
